package com.power.service;

import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.power.model.mdao.MenuMapper;
import com.power.model.pojo.Menu;

@Service
public class MenuService {
	@Autowired
	MenuMapper mapper;
	public List<Menu> selectRoleMenu(List<Integer> rid){
		return mapper.selectRoleMenu(rid);
	};
	public List<Menu> selectAll(){
		return mapper.selectAll();
	}
	public List<Menu> selectByRid(Integer rid){
		return mapper.selectByRid(rid);
	}
}
